//
//  DashboardSkillController.h
//  APJ HRadar
//
//  Created by WW on 14-4-16.
//  Copyright (c) 2014年 APJ. All rights reserved.
//A


#import <Foundation/Foundation.h>
#import "SimpleBarChartForSkill.h"

@interface DashboardSkillController : NSObject<SimpleBarChartForSkillDataSource, SimpleBarChartForSkillDelegate, UIGestureRecognizerDelegate>
{
    //NSArray *_deptList;
//    NSArray *_afterSkillCategoryList;
//    NSArray *_skillCategoryList;
    NSArray *_skillList;
//    NSArray *_tempSkillList;
    
    
    //Sa
    NSMutableArray *_saMonthRequirements; //当月总需求
    NSMutableArray *_saMeetRequirements; //已满足需求
    NSMutableArray *_saLegacyRequirements ; //遗留的需求
    
    //AP
    NSMutableArray *_apMonthRequirements; //当月总需求
    NSMutableArray *_apMeetRequirements; //已满足需求
    NSMutableArray *_apLegacyRequirements ; //遗留的需求
    
    //p
    NSMutableArray *_pMonthRequirements; //当月总需求
    NSMutableArray *_pMeetRequirements; //已满足需求
    NSMutableArray *_pLegacyRequirements ; //遗留的需求
    
    
    NSDate *_currentMonth;
    
    NSDate *_lastMonth;
    
    NSArray *_barColors;
    SimpleBarChartForSkill *_chart;
    NSInteger _currentBarColor;
    UILabel *monthLabel;
}

@property (nonatomic, strong) UIView *view;
@property (nonatomic, retain) UINavigationController *_navigationController;

- (UIView *) getSkillView;
- (void) sentNavigationController:(UINavigationController *)navigationController;
- (void)bindDateForChart;
//-(IBAction)btnPressed:(id)sender;

@end

